package main

import (
	_ "go.uber.org/automaxprocs"
	"go.uber.org/zap"

	"uploadSvc/core"
	"uploadSvc/global"
	"uploadSvc/initialize"
)

func main() {
	global.NS_VP = core.Viper() // 初始化Viper
	global.NS_LOG = core.Zap()  // 初始化zap日志库
	zap.ReplaceGlobals(global.NS_LOG)
	global.NS_DB = initialize.Gorm() // gorm连接数据库
	initialize.DBList()
	core.RunWindowsServer()
}
